package com.hc.sss.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * send[帮我送]
 * @author Administrator
 *
 */
public class Send implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String sendId;//任务id

    private String sendTakeAddr;//拿货地址【关联地址表】

    private String sendDeliverAddr;//送达地址【关联地址表】

    private String sendPhone;//联系电话

    private Integer sendDictType;//物品信息【关联基础数据表】

    private BigDecimal sendWeight;//物品重量

    private String sendOrderId;//订单流水号【是订单表主键】

    private Integer sendStatus;//任务状态(-1删除，1正常，2正在进行，3完成任务，4任务失败 5取消)

    private Integer sendPublish;//发布人【关联用户表】

    private Integer sendReceive;//接受人【关联用户表】

    private Date sendReceiveTime;//接单时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendCreateTime;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendUpdateTime;//更新时间
    
    /**
     * lcx
     * 2021年4月14日11:09:22
     */
    private Order order;//订单
    private Address address1;//拿货地址
    private Address address2;//收货地址
    private User user1;//用户
    private User user2; //接单人
    private Dict dict;//基础数据表
    

	public Address getAddress1() {
		return address1;
	}

	public void setAddress1(Address address1) {
		this.address1 = address1;
	}

	public Address getAddress2() {
		return address2;
	}

	public void setAddress2(Address address2) {
		this.address2 = address2;
	}

	public User getUser1() {
		return user1;
	}

	public void setUser1(User user1) {
		this.user1 = user1;
	}

	public User getUser2() {
		return user2;
	}

	public void setUser2(User user2) {
		this.user2 = user2;
	}

	public Dict getDict() {
		return dict;
	}

	public void setDict(Dict dict) {
		this.dict = dict;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public String getSendId() {
		return sendId;
	}

	public void setSendId(String sendId) {
		this.sendId = sendId;
	}

	

    public String getSendTakeAddr() {
		return sendTakeAddr;
	}

	public void setSendTakeAddr(String sendTakeAddr) {
		this.sendTakeAddr = sendTakeAddr;
	}

	public String getSendDeliverAddr() {
		return sendDeliverAddr;
	}

	public void setSendDeliverAddr(String sendDeliverAddr) {
		this.sendDeliverAddr = sendDeliverAddr;
	}

	public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone == null ? null : sendPhone.trim();
    }

    public Integer getSendDictType() {
        return sendDictType;
    }

    public void setSendDictType(Integer sendDictType) {
        this.sendDictType = sendDictType;
    }

    public BigDecimal getSendWeight() {
		return sendWeight;
	}

	public void setSendWeight(BigDecimal sendWeight) {
		this.sendWeight = sendWeight;
	}

	public String getSendOrderId() {
        return sendOrderId;
    }

    public void setSendOrderId(String sendOrderId) {
        this.sendOrderId = sendOrderId == null ? null : sendOrderId.trim();
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public Integer getSendPublish() {
        return sendPublish;
    }

    public void setSendPublish(Integer sendPublish) {
        this.sendPublish = sendPublish;
    }

    public Integer getSendReceive() {
        return sendReceive;
    }

    public void setSendReceive(Integer sendReceive) {
        this.sendReceive = sendReceive;
    }

    public Date getSendReceiveTime() {
        return sendReceiveTime;
    }

    public void setSendReceiveTime(Date sendReceiveTime) {
        this.sendReceiveTime = sendReceiveTime;
    }

    public Date getSendCreateTime() {
        return sendCreateTime;
    }

    public void setSendCreateTime(Date sendCreateTime) {
        this.sendCreateTime = sendCreateTime;
    }

    public Date getSendUpdateTime() {
        return sendUpdateTime;
    }

    public void setSendUpdateTime(Date sendUpdateTime) {
        this.sendUpdateTime = sendUpdateTime;
    }
}